﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<OneDollarStore.News>>" %>

<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">
    Tin tức
</asp:Content>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="right">
        <h1 style="text-align:center; margin-left:5px; color:Green">Tin tức</h1>
        <br />
        <div style="font-size:15px; text-align:justify; margin-left:5px; width:98%">
            <% foreach (var news in Model)
               { %>
                <a style="font-size:18px; color:Fuchsia" href="<%= news.Link %>"><%= news.Title %></a>
                <p style="line-height:20px"><%= news.Content %></p>
                <br />
            <% } %>
        </div>
    </div>
</asp:Content>